package com.XinYun.Library.modules.admin.bookCRUD.entity;

public class Book {
    String bookname;
    String bid;
    /**
     * state借阅
     * 1 存留
     * 0 借阅
     * -1 逾期
     */
    Integer state;

    Integer visible;

    public Book() {
    }

    public Book(String bookname, String bid, Integer state, Integer visible) {
        this.bookname = bookname;
        this.bid = bid;
        this.state = state;
        this.visible = visible;
    }

    public Integer getVisible() {
        return visible;
    }

    public void setVisible(Integer visible) {
        this.visible = visible;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookname='" + bookname + '\'' +
                ", bid='" + bid + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
